package com.pretty.test.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pretty.test.controller.system.dict.dto.*;
import com.pretty.test.controller.system.dict.vo.*;
import com.pretty.test.entity.PetsDict;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 系统字典服务类
 * @author dujianyu
 * @since 2021-03-31
 */
public interface IPetsDictService extends IService<PetsDict> {

    IPage<PetsDictVO> selectDictList(Page<PetsDictVO> page, PetsDictSearchDTO searchDTO);

    IPage<ChildrenPetsDictVO> selectChildrenDictList(Page<ChildrenPetsDictVO> page, ChildrenPetsDictSearchDTO searchDTO);

    Boolean submit(PetsDict petsDict);

    Boolean delete(String id);

    Boolean changeIsRun(PetsDict petsDict);

    List<DictKeyValueVO> dictList(String code);
}
